package com.ruoyi.tb.lmt.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检修类别业务对象 tb_workcategory
 *
 * @author ruoyi
 * @date 2023-11-30
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TbWorkcategoryBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 父节点
     */
    @NotNull(message = "父节点不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long pid;

    /**
     * 车型
     */
    @NotBlank(message = "车型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lmtType;

    /**
     * 顺序号
     */
    private String categoryCode;

    /**
     * 部件名称
     */
    @NotBlank(message = "部件名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String workCategory;

    /**
     * 层级
     */
    private Long level;

    /**
     * id路径
     */
    private String idPath;

    /**
     * 代码路径
     */
    private String codePath;

    /**
     * name路径
     */
    private String namePath;

    /**
     * 备注
     */
    private String remark;


}
